package ru.silviasaint.fridge.server.bean.impl;

import java.util.HashMap;
import java.util.Locale;

import com.j256.ormlite.field.DatabaseField;

public abstract class LocaledSubstance extends Substance{
	@DatabaseField
	private String originalText;
	private HashMap<String,String> translates;

	public String getOriginalText() {
		return originalText;
	}

	public void setOriginalText(String originalText) {
		this.originalText = originalText;
	}
	public String getText(String locale){
		return translates.get(locale);
	}


}
